import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import '../src/assets/reset.css'
import * as echarts from 'echarts'
import api from './request/api'
Vue.prototype.$echarts = echarts
Vue.prototype.$api = api // 请求封装挂载到Vue原型上

Vue.config.productionTip = false
Vue.use(ElementUI)

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
